// This was copied from http://www.mono-project.com/WinForms_Getting_Started_Guide
// Used to test the posibility to run Windows Forms with Mono on .NET Compact Framework
// with the use of signature keys hack

using System;
using System.Drawing;
using System.Windows.Forms;
 
public class HelloWorld : Form
{
	static public void Main ()
	{
		Application.Run (new HelloWorld ());
	}
 
	public HelloWorld ()
	{
		Button b = new Button ();
		b.Text = "Click Me!";
		b.Click += new EventHandler (Button_Click);
		Controls.Add (b);
	}
 
	private void Button_Click (object sender, EventArgs e)
	{
		MessageBox.Show ("Button Clicked!");
	}
}
